package com.lhf.novel.sysuser.security.enums;

import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

public enum PasswordEncoder {
    INSTANCE;
    private BCryptPasswordEncoder passwordEncoder;

    PasswordEncoder() {
        this.passwordEncoder= new BCryptPasswordEncoder();
    }
    public BCryptPasswordEncoder getInstance(){
        return passwordEncoder;
    }
}
